<link href="__PUBLIC__/admin/ssi-uploader/styles/ssi-uploader.css" rel="stylesheet">
<script src="__PUBLIC__/admin/ssi-uploader/js/ssi-uploader.js"></script>
<link href="__PUBLIC__/admin/jquery-zoom/css/zoom.css" rel="stylesheet">
<script src="__PUBLIC__/admin/jquery-zoom/js/zoom.js"></script>
<style>
    .panel-group {
        margin-bottom: 0px;
    }
    a{
        text-decoration:none;
    }
    a:link{
        text-decoration:none;
    }
    a:visited{
        text-decoration:none;
    }
    a:hover{
        text-decoration:none;
    }
    a:active{
        text-decoration:none;
    }
    .error{
        color:red;
    }
    b{
        display: none;
    }
    .shoujiancheckbox{
        zoom: 180%;
    }
    h4 input,h4 a{
        vertical-align:middle;
    }
</style>
<div class="page-content">
    <form id="addForm" class="form-horizontal" action="__URL__/add" method="post">
        <div class="row">
            <div class="col-md-6">
                <div class="form-group">
                    <label for="type" class="col-sm-2 control-label">申请类型</label>
                    <div class="col-sm-10">
                        <div class="btn-group" data-toggle="buttons" >
                            <label class="btn btn-default active">
                                <input type="radio" id="type" name="type" value="a" autocomplete="off" checked tabindex="1" >户外广告
                            </label>
                            <label class="btn btn-default">
                                <input type="radio" name="type" value="b" autocomplete="off" tabindex="2"> 临时广告
                            </label>
                            <label class="btn btn-default">
                                <input type="radio" name="type" value="c" autocomplete="off" tabindex="3"> 临时占道
                            </label>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label for="receiving_time" class="col-sm-2 control-label">收件时间</label>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" id="receiving_time" name="receiving_time"
                               placeholder="收件时间" value="{$date}" readonly/>
                    </div>
                </div>
                <div class="form-group">
                    <label for="danwei_name" class="col-sm-2 control-label">申请单位信息</label>
                    <div class="col-sm-10">
                        <div class="input-group">
                            <span class="input-group-btn">
                                <button class="btn btn-default" type="button" for="danwei_name">单位名称</button>
                            </span>
                            <input type="text" class="form-control" id="danwei_name" name="danwei_name" tabindex="1"
                                   placeholder="填写单位名称...">
                        </div>
                        <div class="input-group">
                            <span class="input-group-btn">
                                <button class="btn btn-default" type="button" for="fuzheren_name">负责人姓名</button>
                            </span>
                            <input type="text" class="form-control" id="fuzheren_name" name="fuzheren_name"  tabindex="2"
                                   placeholder="填写负责人姓名...">
                            <span class="input-group-btn">
                                <button class="btn btn-default" type="button" for="fuzheren_tel">负责人电话</button>
                            </span>
                            <input type="text" class="form-control" id="fuzheren_tel" name="fuzheren_tel"  tabindex="3"
                                   placeholder="填写负责人电话...">
                        </div>
                        <div class="input-group">
                            <span class="input-group-btn">
                                <button class="btn btn-default" type="button" for="lianxiren_name">联系人姓名</button>
                            </span>
                            <input type="text" class="form-control" id="lianxiren_name" name="lianxiren_name"  tabindex="4"
                                   placeholder="填写联系人姓名...">
                            <span class="input-group-btn">
                                <button class="btn btn-default" type="button" for="lianxiren_tel">联系人电话</button>
                            </span>
                            <input type="text" class="form-control" id="lianxiren_tel" name="lianxiren_tel"  tabindex="5"
                                   placeholder="填写联系人电话...">
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label for="company_name" class="col-sm-2 control-label">广告公司信息</label>
                    <div class="col-sm-10">
                        <div class="input-group">
                            <span class="input-group-btn">
                                <button class="btn btn-default" type="button" for="company_name">名称</button>
                            </span>
                            <input type="text" class="form-control" id="company_name" name="company_name"  tabindex="6"
                                   placeholder="填写广告公司名称...">
                        </div>
                        <div class="input-group">
                            <span class="input-group-btn">
                                <button class="btn btn-default" type="button" for="company_fuzheren_name">负责人姓名</button>
                            </span>
                            <input type="text" class="form-control" id="company_fuzheren_name"  tabindex="7"
                                   name="company_fuzheren_name" placeholder="广告公司填写负责人姓名...">
                            <span class="input-group-btn">
                                <button class="btn btn-default" type="button" for="company_fuzheren_tel">负责人电话</button>
                            </span>
                            <input type="text" class="form-control" id="company_fuzheren_tel"  tabindex="8"
                                   name="company_fuzheren_tel" placeholder="填写广告公司负责人电话...">
                        </div>
                        <div class="input-group">
                            <span class="input-group-btn">
                                <button class="btn btn-default" type="button" for="company_lianxiren_name">联系人姓名</button>
                            </span>
                            <input type="text" class="form-control" id="company_lianxiren_name"  tabindex="9"
                                   name="company_lianxiren_name" placeholder="填写广告公司联系人姓名...">
                            <span class="input-group-btn">
                                <button class="btn btn-default" type="button" for="company_lianxiren_tel">联系人电话</button>
                            </span>
                            <input type="text" class="form-control" id="company_lianxiren_tel"  tabindex="10"
                                   name="company_lianxiren_tel" placeholder="填写广告公司联系人电话...">
                        </div>
                    </div>
                </div>
                <!--<div class="form-group group-a">-->
                    <!--<label for="a_bianhao" class="col-sm-2 control-label">编号</label>-->
                    <!--<div class="col-sm-10">-->
                        <!--<input type="text" class="form-control" id="a_bianhao" name="a_bianhao" placeholder="编号"-->
                               <!--value="{$bianhao}" readonly>-->
                    <!--</div>-->
                <!--</div>-->
                <div class="form-group group-b group-c" style="display:none">
                    <label for="bc_bianhao" class="col-sm-2 control-label">编号</label>
                    <div class="col-sm-10">
                        <div class="input-group col-sm-6">
                        <input type="text" class="form-control" id="bc_bianhao" name="bc_bianhao" placeholder="请手工录入编号"  tabindex="11"
                               value="">
                        </div>
                    </div>
                </div>

                <div class="form-group">
                    <label for="address" class="col-sm-2 control-label">地址</label>
                    <div class="col-sm-10">
                        <div class="input-group">
                            <span class="input-group-btn" style="weight:auto;">
                                <button class="btn btn-default" type="button" for="daolu">广东省中山市小榄镇</button>
                            </span>
                            <select class="form-control" id="daolu" name="daolu">
                                <option value="">请选择道路</option>
                                <foreach name="daoluData" item="vo">
                                    <option value="{$vo.name}">{$vo.name}</option>
                                </foreach>
                            </select>
                        </div>
                        <div class="input-group col-sm-12">
                            <input type="text" class="form-control" id="address" name="address" placeholder="填写详细地址..."  tabindex="12">
                        </div>
                    </div>
                </div>
                <div class="form-group group-a">
                    <label for="a_ad_company_type" class="col-sm-2 control-label">广告主类型</label>
                    <div class="col-sm-10">
                        <div class="btn-group" data-toggle="buttons">
                            <label class="btn btn-default active">
                                <input type="radio" name="a_ad_company_type" value="个人" autocomplete="off" checked> 个人
                            </label>
                            <label class="btn btn-default">
                                <input type="radio" name="a_ad_company_type" value="社区" autocomplete="off"> 社区
                            </label>
                            <label class="btn btn-default">
                                <input type="radio" name="a_ad_company_type" value="企业" autocomplete="off"> 企业
                            </label>
                        </div>
                    </div>
                </div>
                <div class="form-group group-a">
                    <label for="a_ad_type" class="col-sm-2 control-label">广告类型</label>
                    <div class="col-sm-10">
                        <div class="btn-group" data-toggle="buttons">
                            <label class="btn btn-default active">
                                <input type="radio" name="a_ad_type" value="楼顶" autocomplete="off" checked> 楼顶
                            </label>
                            <label class="btn btn-default">
                                <input type="radio" name="a_ad_type" value="楼面" autocomplete="off"> 楼面
                            </label>
                            <label class="btn btn-default">
                                <input type="radio" name="a_ad_type" value="T型牌" autocomplete="off"> T型牌
                            </label>
                            <label class="btn btn-default ">
                                <input type="radio" name="a_ad_type" value="门头招牌" autocomplete="off"> 门头招牌
                            </label>
                            <label class="btn btn-default">
                                <input type="radio" name="a_ad_type" value="路牌（标牌）" autocomplete="off"> 路牌（标牌）
                            </label>
                            <label class="btn btn-default">
                                <input type="radio" name="a_ad_type" value="霓虹灯（灯箱）" autocomplete="off"> 霓虹灯（灯箱）
                            </label>
                            <label class="btn btn-default ">
                                <input type="radio" name="a_ad_type" value="立柱式电脑喷图" autocomplete="off"> 立柱式电脑喷图
                            </label>
                            <label class="btn btn-default">
                                <input type="radio" name="a_ad_type" value="橱窗" autocomplete="off"> 橱窗
                            </label>
                            <label class="btn btn-default">
                                <input type="radio" name="a_ad_type" value="显示屏" autocomplete="off"> 显示屏
                            </label>
                            <label class="btn btn-default ">
                                <input type="radio" name="a_ad_type" value="候车厅" autocomplete="off"> 候车厅
                            </label>
                            <label class="btn btn-default">
                                <input type="radio" id="a_ad_type_qita" name="a_ad_type" value="其他" autocomplete="off"> 其他
                            </label>
                        </div>
                        <input class="form-control col-sm-8" type="text" id="a_ad_type_text" value="" style="display: none" placeholder="清填写其他类型信息" />
                    </div>
                </div>
                <div class="form-group group-a">
                    <label for="a_mianji" class="col-sm-2 control-label">广告面积</label>
                    <div class="col-sm-6">
                        <div class="input-group">
                            <input type="number" class="form-control" id="a_mianji" name="a_mianji" aria-label=""  tabindex="13">
                            <span class="input-group-addon">㎡</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-6">
                <div class="form-group group-b group-c " style="display:none" >
                    <label for="bc_neirong" class="col-sm-2 control-label">申请内容</label>
                    <div class="col-sm-10">
                        <textarea type="text" class="form-control" id="bc_neirong" name="bc_neirong" placeholder="填写申请内容"
                                  rows="5"></textarea>
                    </div>
                </div>
                <div class="form-group" >
                    <label id="" class="col-sm-2 control-label">
                        收件内容
                        <p id="shoujian_error" class="error" style="display:none">(必须勾选一项内容)</p>
                    </label>
                    <div class="col-sm-10">
                        <div class="panel-group group-a group-b group-c" id="accordion" role="tablist" aria-multiselectable="true">
                            <div class="panel panel-default">
                                <div class="panel-heading" role="tab" >
                                    <h4 class="panel-title shoujianh4">
                                        <input class="shoujiancheckbox" type="checkbox" id="abc_yingyuezhizhao_checkbox" name="abc_yingyuezhizhao_checkbox" value="1" aria-label="...">
                                        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse1" aria-expanded="true" aria-controls="collapse1">
                                            <span class="label label-success" style="display: none" id="abc_yingyuezhizhao_ok"><span class=" glyphicon glyphicon-ok" aria-hidden="true">&nbsp;已上传</span></span>营业执照或机构代码证复印件</a>
                                    </h4>
                                </div>
                                <div id="collapse1" class="panel-collapse collapse " role="tabpanel" aria-labelledby="headingOne">
                                    <div class="panel-body">
                                        <input type="file" multiple id="abc_yingyuezhizhao_file"/>
                                        <input type="hidden" class="hidden_file_input" id="abc_yingyuezhizhao" name="abc_yingyuezhizhao" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="panel-group group-a" role="tablist" aria-multiselectable="true">
                            <div class="panel panel-default">
                                <div class="panel-heading" role="tab" >
                                    <h4 class="panel-title shoujianh4">
                                        <input class="shoujiancheckbox" type="checkbox" id="a_faren_shenfenzheng_checkbox" name="a_faren_shenfenzheng_checkbox" value="1" aria-label="...">
                                        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse2" aria-expanded="true" aria-controls="collapse2">
                                            <span class="label label-success" style="display: none" id="a_faren_shenfenzheng_ok"><span class=" glyphicon glyphicon-ok" aria-hidden="true">&nbsp;已上传</span></span>
                                            法人代表或组织主要负责人身份证
                                        </a>
                                    </h4>
                                </div>
                                <div id="collapse2" class="panel-collapse collapse " role="tabpanel" aria-labelledby="headingOne">
                                    <div class="panel-body">
                                        <input type="file" multiple id="a_faren_shenfenzheng_file"/>
                                        <input type="hidden" class="hidden_file_input" id="a_faren_shenfenzheng" name="a_faren_shenfenzheng" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="panel-group group-a group-b group-c" role="tablist" aria-multiselectable="true">
                            <div class="panel panel-default">
                                <div class="panel-heading" role="tab" >
                                    <h4 class="panel-title shoujianh4">
                                        <input class="shoujiancheckbox" type="checkbox" id="abc_shenqingzhe_shenfenzheng_checkbox" name="abc_shenqingzhe_shenfenzheng_checkbox" value="1" aria-label="...">
                                        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse3" aria-expanded="true" aria-controls="collapse3">
                                            <span class="label label-success" style="display: none" id="abc_shenqingzhe_shenfenzheng_ok"><span class=" glyphicon glyphicon-ok" aria-hidden="true">&nbsp;已上传</span></span>
                                            申请者身份证复印件
                                        </a>
                                    </h4>
                                </div>
                                <div id="collapse3" class="panel-collapse collapse " role="tabpanel" aria-labelledby="headingOne">
                                    <div class="panel-body">
                                        <input type="file" multiple id="abc_shenqingzhe_shenfenzheng_file"/>
                                        <input type="hidden" class="hidden_file_input" id="abc_shenqingzhe_shenfenzheng" name="abc_shenqingzhe_shenfenzheng" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="panel-group group-a" role="tablist" aria-multiselectable="true">
                            <div class="panel panel-default">
                                <div class="panel-heading" role="tab" >
                                    <h4 class="panel-title shoujianh4">
                                        <input class="shoujiancheckbox" type="checkbox" id="a_weituoshu_checkbox" name="a_weituoshu_checkbox" value="1" aria-label="...">
                                        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse4" aria-expanded="true" aria-controls="collapse4">
                                            <span class="label label-success" style="display: none" id="a_weituoshu_ok"><span class=" glyphicon glyphicon-ok" aria-hidden="true">&nbsp;已上传</span></span>
                                            授权委托书
                                        </a>
                                    </h4>
                                </div>
                                <div id="collapse4" class="panel-collapse collapse " role="tabpanel" aria-labelledby="headingOne">
                                    <div class="panel-body">
                                        <input type="file" multiple id="a_weituoshu_file"/>
                                        <input type="hidden" class="hidden_file_input" id="a_weituoshu" name="a_weituoshu" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="panel-group group-a" role="tablist" aria-multiselectable="true">
                            <div class="panel panel-default">
                                <div class="panel-heading" role="tab" >
                                    <h4 class="panel-title shoujianh4">
                                        <input class="shoujiancheckbox" type="checkbox" id="a_guihuaju_shenqingbiao_checkbox" name="a_guihuaju_shenqingbiao_checkbox" value="1" aria-label="...">
                                        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse5" aria-expanded="true" aria-controls="collapse5">
                                            <span class="label label-success" style="display: none" id="a_guihuaju_shenqingbiao_ok"><span class=" glyphicon glyphicon-ok" aria-hidden="true">&nbsp;已上传</span></span>
                                            中山市城乡规划局业务申请表
                                        </a>
                                    </h4>
                                </div>
                                <div id="collapse5" class="panel-collapse collapse " role="tabpanel" aria-labelledby="headingOne">
                                    <div class="panel-body">
                                        <input type="file" multiple id="a_guihuaju_shenqingbiao_file"/>
                                        <input type="hidden" class="hidden_file_input" id="a_guihuaju_shenqingbiao" name="a_guihuaju_shenqingbiao" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="panel-group group-a" role="tablist" aria-multiselectable="true">
                            <div class="panel panel-default">
                                <div class="panel-heading" role="tab" >
                                    <h4 class="panel-title shoujianh4">
                                        <input class="shoujiancheckbox" type="checkbox" id="a_didian_chanquan_checkbox" name="a_didian_chanquan_checkbox" value="1" aria-label="...">
                                        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse6" aria-expanded="true" aria-controls="collapse6">
                                            <span class="label label-success" style="display: none" id="a_didian_chanquan_ok"><span class=" glyphicon glyphicon-ok" aria-hidden="true">&nbsp;已上传</span></span>
                                            设置地点产权证复印件
                                        </a>
                                    </h4>
                                </div>
                                <div id="collapse6" class="panel-collapse collapse " role="tabpanel" aria-labelledby="headingOne">
                                    <div class="panel-body">
                                        <input type="file" multiple id="a_didian_chanquan_file"/>
                                        <input type="hidden" class="hidden_file_input" id="a_didian_chanquan" name="a_didian_chanquan" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="panel-group group-a group-b group-c" role="tablist" aria-multiselectable="true">
                            <div class="panel panel-default">
                                <div class="panel-heading" role="tab" >
                                    <h4 class="panel-title shoujianh4">
                                        <input class="shoujiancheckbox" type="checkbox" id="abc_zhizuo_gongshi_zhizhao_checkbox" name="abc_zhizuo_gongshi_zhizhao_checkbox" value="1" aria-label="...">
                                        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse7" aria-expanded="true" aria-controls="collapse7">
                                            <span class="label label-success" style="display: none" id="abc_zhizuo_gongshi_zhizhao_ok"><span class=" glyphicon glyphicon-ok" aria-hidden="true">&nbsp;已上传</span></span>
                                            制作公司工商执照复印件
                                        </a>
                                    </h4>
                                </div>
                                <div id="collapse7" class="panel-collapse collapse " role="tabpanel" aria-labelledby="headingOne">
                                    <div class="panel-body">
                                        <input type="file" multiple id="abc_zhizuo_gongshi_zhizhao_file"/>
                                        <input type="hidden" class="hidden_file_input" id="abc_zhizuo_gongshi_zhizhao" name="abc_zhizuo_gongshi_zhizhao" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="panel-group group-a " role="tablist" aria-multiselectable="true">
                            <div class="panel panel-default">
                                <div class="panel-heading" role="tab" >
                                    <h4 class="panel-title shoujianh4">
                                        <input class="shoujiancheckbox" type="checkbox" id="a_images_checkbox" name="a_images_checkbox" value="1" aria-label="...">
                                        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse8" aria-expanded="true" aria-controls="collapse8">
                                            <span class="label label-success" style="display: none" id="a_images_ok"><span class=" glyphicon glyphicon-ok" aria-hidden="true">&nbsp;已上传</span></span>
                                            户外广告招牌、建筑小品设计图纸及现场实景彩色效果图
                                        </a>
                                    </h4>
                                </div>
                                <div id="collapse8" class="panel-collapse collapse " role="tabpanel" aria-labelledby="headingOne">
                                    <div class="panel-body">
                                        <input type="file" multiple id="a_images_file"/>
                                        <input type="hidden" class="hidden_file_input" id="a_images" name="a_images" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="panel-group group-a " role="tablist" aria-multiselectable="true">
                            <div class="panel panel-default">
                                <div class="panel-heading" role="tab" >
                                    <h4 class="panel-title shoujianh4">
                                        <input class="shoujiancheckbox" type="checkbox" id="a_didian_celiangtu_checkbox" name="a_didian_celiangtu_checkbox" value="1" aria-label="...">
                                        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse9" aria-expanded="true" aria-controls="collapse9">
                                            <span class="label label-success" style="display: none" id="a_didian_celiangtu_ok"><span class=" glyphicon glyphicon-ok" aria-hidden="true">&nbsp;已上传</span></span>
                                            设置地址测量图
                                        </a>
                                    </h4>
                                </div>
                                <div id="collapse9" class="panel-collapse collapse " role="tabpanel" aria-labelledby="headingOne">
                                    <div class="panel-body">
                                        <input type="file" multiple id="a_didian_celiangtu_file"/>
                                        <input type="hidden" class="hidden_file_input" id="a_didian_celiangtu" name="a_didian_celiangtu" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="panel-group group-a " role="tablist" aria-multiselectable="true">
                            <div class="panel panel-default">
                                <div class="panel-heading" role="tab" >
                                    <h4 class="panel-title shoujianh4">
                                        <input class="shoujiancheckbox" type="checkbox" id="a_zulinhetong_checkbox" name="a_zulinhetong_checkbox" value="1" aria-label="...">
                                        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse99" aria-expanded="true" aria-controls="collapse99">
                                            <span class="label label-success" style="display: none" id="a_zulinhetong_ok"><span class=" glyphicon glyphicon-ok" aria-hidden="true">&nbsp;已上传</span></span>
                                            租赁合同复印件
                                        </a>
                                    </h4>
                                </div>
                                <div id="collapse99" class="panel-collapse collapse " role="tabpanel" aria-labelledby="headingOne">
                                    <div class="panel-body">
                                        <input type="file" multiple id="a_zulinhetong_file"/>
                                        <input type="hidden" class="hidden_file_input" id="a_zulinhetong" name="a_zulinhetong" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="panel-group group-a " role="tablist" aria-multiselectable="true">
                            <div class="panel panel-default">
                                <div class="panel-heading" role="tab" >
                                    <h4 class="panel-title shoujianh4">
                                        <input class="shoujiancheckbox" type="checkbox" id="a_jiegouanquantuzhi_checkbox" name="a_jiegouanquantuzhi_checkbox" value="1" aria-label="...">
                                        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse999" aria-expanded="true" aria-controls="collapse999">
                                            <span class="label label-success" style="display: none" id="a_jiegouanquantuzhi_ok"><span class=" glyphicon glyphicon-ok" aria-hidden="true">&nbsp;已上传</span></span>
                                            结构安全设计图纸
                                        </a>
                                    </h4>
                                </div>
                                <div id="collapse999" class="panel-collapse collapse " role="tabpanel" aria-labelledby="headingOne">
                                    <div class="panel-body">
                                        <input type="file" multiple id="a_jiegouanquantuzhi_file"/>
                                        <input type="hidden" class="hidden_file_input" id="a_jiegouanquantuzhi" name="a_jiegouanquantuzhi" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="panel-group group-b " style="display:none" role="tablist" aria-multiselectable="true">
                            <div class="panel panel-default">
                                <div class="panel-heading" role="tab" >
                                    <h4 class="panel-title shoujianh4">
                                        <input class="shoujiancheckbox" type="checkbox" id="b_xuanchuanguazhang_shenqingbiao_checkbox" name="b_xuanchuanguazhang_shenqingbiao_checkbox" value="1" aria-label="...">
                                        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse10" aria-expanded="true" aria-controls="collapse10">
                                            <span class="label label-success" style="display: none" id="b_xuanchuanguazhang_shenqingbiao_ok"><span class=" glyphicon glyphicon-ok" aria-hidden="true">&nbsp;已上传</span></span>
                                            临时广告、宣传张挂申请表
                                        </a>
                                    </h4>
                                </div>
                                <div id="collapse10" class="panel-collapse collapse " role="tabpanel" aria-labelledby="headingOne">
                                    <div class="panel-body">
                                        <input type="file" multiple id="b_xuanchuanguazhang_shenqingbiao_file"/>
                                        <input type="hidden" class="hidden_file_input" id="b_xuanchuanguazhang_shenqingbiao" name="b_xuanchuanguazhang_shenqingbiao" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="panel-group group-c " style="display:none" role="tablist" aria-multiselectable="true">
                            <div class="panel panel-default">
                                <div class="panel-heading" role="tab" >
                                    <h4 class="panel-title shoujianh4">
                                        <input class="shoujiancheckbox" type="checkbox" id="c_shigongzuoye_shenqingbiao_checkbox" name="c_shigongzuoye_shenqingbiao_checkbox" value="1" aria-label="...">
                                        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse11" aria-expanded="true" aria-controls="collapse11">
                                            <span class="label label-success" style="display: none" id="c_shigongzuoye_shenqingbiao_ok"><span class=" glyphicon glyphicon-ok" aria-hidden="true">&nbsp;已上传</span></span>
                                            临时占用道路、施工作业申请表
                                        </a>
                                    </h4>
                                </div>
                                <div id="collapse11" class="panel-collapse collapse " role="tabpanel" aria-labelledby="headingOne">
                                    <div class="panel-body">
                                        <input type="file" multiple id="c_shigongzuoye_shenqingbiao_file"/>
                                        <input type="hidden" class="hidden_file_input" id="c_shigongzuoye_shenqingbiao" name="c_shigongzuoye_shenqingbiao" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="panel-group group-b group-c " style="display:none" role="tablist" aria-multiselectable="true">
                            <div class="panel panel-default">
                                <div class="panel-heading" role="tab" >
                                    <h4 class="panel-title shoujianh4">
                                        <input class="shoujiancheckbox" type="checkbox" id="bc_xiaoguotu_checkbox" name="bc_xiaoguotu_checkbox" value="1" aria-label="...">
                                        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse12" aria-expanded="true" aria-controls="collapse12">
                                            <span class="label label-success" style="display: none" id="bc_xiaoguotu_ok"><span class=" glyphicon glyphicon-ok" aria-hidden="true">&nbsp;已上传</span></span>
                                            效果图复印件
                                        </a>
                                    </h4>
                                </div>
                                <div id="collapse12" class="panel-collapse collapse " role="tabpanel" aria-labelledby="headingOne">
                                    <div class="panel-body">
                                        <input type="file" multiple id="bc_xiaoguotu_file"/>
                                        <input type="hidden" class="hidden_file_input" id="bc_xiaoguotu" name="bc_xiaoguotu" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="panel-group group-b group-c " style="display:none" role="tablist" aria-multiselectable="true">
                            <div class="panel panel-default">
                                <div class="panel-heading" role="tab" >
                                    <h4 class="panel-title shoujianh4">
                                        <input class="shoujiancheckbox" type="checkbox" id="bc_qita_checkbox" name="bc_qita_checkbox" value="1" aria-label="...">
                                        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse13" aria-expanded="true" aria-controls="collapse13">
                                            <span class="" style="display: none" id="bc_qita_ok"></span>
                                            其他
                                        </a>
                                    </h4>
                                </div>
                                <div id="collapse13" class="panel-collapse collapse " role="tabpanel" aria-labelledby="headingOne">
                                    <div class="panel-body">
                                        <div class="input-group col-sm-12">
                                        <input type="text"class="form-control"  id="bc_qita" name="bc_qita" placeholder="填写其他收件内容"/>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label for="qingdan_lianxiren_name" class="col-sm-2 control-label">收件清单联系人</label>
                    <div class="col-sm-10">
                        <div class="input-group col-sm-6">
                            <input type="text" class="form-control" id="qingdan_lianxiren_name" name="qingdan_lianxiren_name" placeholder="填写收件清单联系人"   tabindex="14">
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label for="shoujianren" class="col-sm-2 control-label">收件清单联系人电话</label>
                    <div class="col-sm-10">
                        <div class="input-group col-sm-6">
                        <input type="text" class="form-control" id="qingdan_lianxiren_tel" name="qingdan_lianxiren_tel" placeholder="填写收件清单联系人电话"   tabindex="15">
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label for="shoujianren" class="col-sm-2 control-label">收件人</label>
                    <div class="col-sm-10">
                        <div class="input-group col-sm-6">
                        <input type="text" class="form-control" id="shoujianren" name="shoujianren" placeholder="填写收件人"   tabindex="16">
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <div class="form-group">
                    <label for="addBtn" class="col-sm-5 control-label"></label>
                    <div class="col-sm-7">
                        <button type="button" id="addBtn" class="btn btn-primary">确定</button>&nbsp;&nbsp;
                        <a href="__URL__" class="btn btn-default" data-dismiss="modal">取消</a>
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>
<script src="__PUBLIC__/js/bootstrap-typeahead.js"></script>
<script src="__PUBLIC__/js/addclear.js"></script>
<script src="__PUBLIC__/js/jquery.cookie.js"></script>
<script>
    $("#shoujianren").val($.cookie('cookie_shoujianren'));
    var currType = 'a';
    function checkA() {
        var flag = currType == 'a' ? true:false;
        console.log(flag);
        console.log(currType);
        return flag;
    }
    function checkABCShoujian() {
        if(currType == 'a'){
            var flag = !!$("#abc_yingyuezhizhao_checkbox").prop("checked") ||
                !!$("#a_faren_shenfenzheng_checkbox").prop("checked") ||
                !!$("#abc_shenqingzhe_shenfenzheng_checkbox").prop("checked") ||
                !!$("#a_weituoshu_checkbox").prop("checked") ||
                !!$("#a_guihuaju_shenqingbiao_checkbox").prop("checked") ||
                !!$("#a_didian_chanquan_checkbox").prop("checked") ||
                !!$("#abc_zhizuo_gongshi_zhizhao_checkbox").prop("checked") ||
                !!$("#a_images_checkbox").prop("checked") ||
                !!$("#a_didian_celiangtu_checkbox").prop("checked") ||
                !!$("#a_zulinhetong_checkbox").prop("checked") ||
                !!$("#a_jiegouanquantuzhi_checkbox").prop("checked");
        }
        else{
            var flag = !!$("#abc_yingyuezhizhao_checkbox").prop("checked") ||
                !!$("#abc_shenqingzhe_shenfenzheng_checkbox").prop("checked") ||
                !!$("#abc_zhizuo_gongshi_zhizhao_checkbox").prop("checked") ||
                !!$("#b_xuanchuanguazhang_shenqingbiao_checkbox").prop("checked") ||
                !!$("#c_shigongzuoye_shenqingbiao_checkbox").prop("checked") ||
                !!$("#bc_xiaoguotu_checkbox").prop("checked") ||
                !!$("#bc_qita_checkbox").prop("checked");
        }
        if(flag) {
            $("#shoujian_error").hide();
        }
        else{
            $("#shoujian_error").show();
        }
        return flag;
    }
    function checkBC() {
        var flag = currType == 'b' || currType == 'c' ? true:false;
        console.log(flag);
        console.log(currType);
        return flag;
    }
    $("#addForm").validate({
        //debug:true,
        errorPlacement: function(error, element) {
            // Append error within linked label
            $( element )
                .closest( "form" )
                .find( "label[for='" + element.attr( "id" ) + "']" )
                .append( error );
            $( element )
                .closest( "form" )
                .find( "button[for='" + element.attr( "id" ) + "']" )
                .append( error );
        },
        errorElement: "span",
        rules: {
            receiving_time: {required: true,maxlength: 10},
            danwei_name: {required: true,maxlength: 50},
            fuzheren_name: {required: false,maxlength: 50},
            fuzheren_tel: {required: false,maxlength: 50},
            lianxiren_name: {required: false,maxlength: 50},
            lianxiren_tel: {required: false,maxlength: 50},
            company_name: {required: true,maxlength: 50},
            company_fuzheren_name: {required: false,maxlength: 50},
            company_fuzheren_tel: {required: false,maxlength: 50},
            company_lianxiren_name: {required: false,maxlength: 50},
            company_lianxiren_tel: {required: false,maxlength: 50},
            //a_bianhao: {required: checkA,maxlength: 50},
            bc_bianhao: {required: checkBC,maxlength: 50},
            daolu: {required: true,maxlength: 50},
            address: {required: true,maxlength: 50},
            a_mianji: {required: checkA,maxlength: 50},
            bc_neirong: {required: checkBC,maxlength: 150},
            shoujianren: {required: true,maxlength: 50},
            qingdan_lianxiren_name: {required: true,maxlength: 50},
            qingdan_lianxiren_tel: {required: true,maxlength: 50},
        },
        messages: {
            receiving_time: {required: "<span>(*必填)</span>",maxlength: "不超过50个字符"},
            danwei_name: {required: "<span>(*必填)</span>",maxlength: "不超过50个字符"},
            fuzheren_name: {required: "<span>(*必填)</span>",maxlength: "不超过50个字符"},
            fuzheren_tel: {required: "<span>(*必填)</span>",maxlength: "不超过50个字符"},
            lianxiren_name: {required: "<span>(*必填)</span>",maxlength: "不超过50个字符"},
            lianxiren_tel: {required: "<span>(*必填)</span>",maxlength: "不超过50个字符"},
            company_name: {required: "<span>(*必填)</span>",maxlength: "不超过50个字符"},
            company_fuzheren_name: {required: "<span>(*必填)</span>",maxlength: "不超过50个字符"},
            company_fuzheren_tel: {required: "<span>(*必填)</span>",maxlength: "不超过50个字符"},
            company_lianxiren_name: {required: "<span>(*必填)</span>",maxlength: "不超过50个字符"},
            company_lianxiren_tel: {required: "<span>(*必填)</span>",maxlength: "不超过50个字符"},
            //a_bianhao: {required: "<span>(*必填)</span>",maxlength: "不超过50个字符"},
            bc_bianhao: {required: "<span>(*必填)</span>",maxlength: "不超过50个字符"},
            daolu: {required: "<span>(*必填)</span>",maxlength: "不超过50个字符"},
            address: {required: "<span>(*必填)</span>",maxlength: "不超过50个字符"},
            a_mianji: {required: "<span>(*必填)</span>",maxlength: "不超过50个字符"},
            bc_neirong: {required: "<span>(*必填)</span>",maxlength: "不超过150个字符"},
            shoujianren: {required: "<span>(*必填)</span>",maxlength: "不超过50个字符"},
            qingdan_lianxiren_name: {required: "<span>(*必填)</span>",maxlength: "不超过50个字符"},
            qingdan_lianxiren_tel: {required: "<span>(*必填)</span>",maxlength: "不超过50个字符"}
        }
    });


    $("input[name='type']").on("change",function () {
        var type = $(this).val();
        currType = type;
        $(".group-a,.group-b,.group-c").hide();
        switch (type){
            case 'b':
                $(".group-b").show();
                break;
            case 'c':
                $(".group-c").show();
                break;
            default:
                $(".group-a").show();
                break;
        }
        //$("#danwei_name").focus();
    });
    $("input[name='a_ad_type']").on("change",function () {
        var type = $(this).val();
        if(type == '其他'){
            $("#a_ad_type_text").show();
        }
        else{
            $("#a_ad_type_text").hide();
        }
    });
    $("#addBtn").on("click", function () {
        if(!checkABCShoujian()){
            $('body').animate({
                scrollTop: $("#shoujian_error").offset().top - 60
            }, 1500);
            return false;
        }
        if($("#addForm").valid()){
            var cookie_shoujianren = $("#shoujianren").val();
            $.cookie('cookie_shoujianren',cookie_shoujianren,{expires:9999});
            //$("#addForm").submit();

            if($("input[name='a_ad_type']:checked").val() == '其他'){
                $("#a_ad_type_qita").val('其他:'+$("#a_ad_type_text").val());
            }
            var formData = $("#addForm").serialize();
            $.ajax({
                type: "POST",
                dataType: 'json',
                url: "__URL__/addAjax",
                data: formData,
                success: function onSuccess(result, status) {
                    if(result.code == 0 && result.data.id > 0){
                        window.open("__APP__/Info/a/id/"+result.data.id);
                    }
                },
                error: function onError(data, status) {
                    // handle an error
                }
            });
        }
        return false;
    });
</script>
<script>
    $(function(){
        $(".shoujiancheckbox").click(function(){
            //$(this).closest("h4").find("a").click();
        });
        $(".shoujianh4").find("a").click(function(){
            $(this).closest("h4").find(".shoujiancheckbox").attr("checked",'true');
        });
        $("input[type='text']").addClear();
        //$("#danwei_name").focus();
        $('#danwei_name').blur(function () {
           if($(this).val() != ""){
               $.ajax({
                    type: "POST",
                    dataType: 'json',
                    url: "__APP__/Heimingdan/checkAjax",
                    data: {danwei_name:$(this).val()},
                    success: function onSuccess(result, status) {
                        if(result.code > 1){
                            alertMsg($("#danwei_name").val()+" 申请单位已被列入黑名单<br/>"+"原因："+result.msg,{time:9999});
                            $("#danwei_name").val('');
                        }
                    },
                    error: function onError(data, status) {
                        // handle an error
                    }
                });
           }
        });
        $('#company_name').blur(function () {
            if($(this).val() != ""){
                $.ajax({
                    type: "POST",
                    dataType: 'json',
                    url: "__APP__/Heimingdan2/checkAjax",
                    data: {danwei_name:$(this).val()},
                    success: function onSuccess(result, status) {
                        if(result.code > 1){
                            alertMsg($("#company_name").val()+" 广告公司已被列入黑名单<br/>"+"原因："+result.msg,{time:9999});
                            $("#danwei_name").val('');
                        }
                    },
                    error: function onError(data, status) {
                        // handle an error
                    }
                });
            }
        });
    });

    var danweiSource = <?= json_encode($infoData); ?>;;

    $('#danwei_name').typeahead({
        source: function(query, process) {
            tempMap = {};
            var result =  jQuery.map(danweiSource, function(item) {
                tempMap[item.id] = item;
                return '<b>'+item.id + ' - </b>' + item.danwei_name + ' ';
            });
            process(result);
        },
        updater: function(item, aa) {
            var t = item.split(' - ');
            t[0] = t[0].replace('<b>','');
            t[1] = t[1].replace('</b>','');
            //console.log(item);
            $('#fuzheren_name').val(tempMap[t[0]]['fuzheren_name']) ;
            $('#fuzheren_tel').val(tempMap[t[0]]['fuzheren_tel']);
            $('#lianxiren_name').val(tempMap[t[0]]['lianxiren_name']);
            $('#lianxiren_tel').val(tempMap[t[0]]['lianxiren_tel']);
//            !$('#fuzheren_name').val() ? $('#fuzheren_name').val(tempMap[t[0]]['fuzheren_name']) : '';
//            !$('#fuzheren_tel').val() ? $('#fuzheren_tel').val(tempMap[t[0]]['fuzheren_tel']) : '';
//            !$('#lianxiren_name').val() ? $('#lianxiren_name').val(tempMap[t[0]]['lianxiren_name']) : '';
//            !$('#lianxiren_tel').val() ? $('#lianxiren_tel').val(tempMap[t[0]]['lianxiren_tel']) : '';
            $('#fuzheren_name').blur();
            return t[1];
        }
    });

    $('#company_name').typeahead({
        source: function(query, process) {
            tempMap = {};
            var result =  jQuery.map(danweiSource, function(item) {
                tempMap[item.id] = item;
                return '<b>'+item.id + ' - </b>' + item.company_name + ' ';
            });
            process(result);
        },
        updater: function(item, aa) {
            var t = item.split(' - ');
            t[0] = t[0].replace('<b>','');
            t[1] = t[1].replace('</b>','');
            //console.log(item);
            $('#company_fuzheren_name').val(tempMap[t[0]]['company_fuzheren_name']);
            $('#company_fuzheren_tel').val(tempMap[t[0]]['company_fuzheren_tel']);
            $('#company_lianxiren_name').val(tempMap[t[0]]['company_lianxiren_name']);
            $('#company_lianxiren_tel').val(tempMap[t[0]]['company_lianxiren_tel']);
//            !$('#company_fuzheren_name').val() ? $('#company_fuzheren_name').val(tempMap[t[0]]['company_fuzheren_name']) : '';
//            !$('#company_fuzheren_tel').val() ? $('#company_fuzheren_tel').val(tempMap[t[0]]['company_fuzheren_tel']) : '';
//            !$('#company_lianxiren_name').val() ? $('#company_lianxiren_name').val(tempMap[t[0]]['company_lianxiren_name']) : '';
//            !$('#company_lianxiren_tel').val() ? $('#company_lianxiren_tel').val(tempMap[t[0]]['company_lianxiren_tel']) : '';
            return t[1];
        }
    });

    $('#address').typeahead({
        source: function(query, process) {
            tempMap = {};
            var result =  jQuery.map(danweiSource, function(item) {
                tempMap[item.id] = item;
                return '<b>'+item.id + ' - </b>' + item.address + ' ';
            });
            process(result);
        },
        updater: function(item, aa) {
            var t = item.split(' - ');
            t[0] = t[0].replace('<b>','');
            t[1] = t[1].replace('</b>','');
            return t[1];
        }
    });

    $('#qingdan_lianxiren_name').typeahead({
        source: function(query, process) {
            tempMap = {};
            var result =  jQuery.map(danweiSource, function(item) {
                tempMap[item.id] = item;
                return '<b>'+item.id + ' - </b>' + item.qingdan_lianxiren_name + ' ';
            });
            process(result);
        },
        updater: function(item, aa) {
            var t = item.split(' - ');
            t[0] = t[0].replace('<b>','');
            t[1] = t[1].replace('</b>','');
            //console.log(item);
            $('#qingdan_lianxiren_tel').val(tempMap[t[0]]['qingdan_lianxiren_tel']);
            return t[1];
        }
    });

    $('#abc_yingyuezhizhao_file').ssi_uploader({url:'__APP__/Info/upimg?r=1212',dropZone:false,allowed:['jpg','gif','txt','png','pdf'],onEachUpload:function (info) {
        var url = info.responseData.data.url;
        $("#abc_yingyuezhizhao").val(url);
        $("#abc_yingyuezhizhao_ok").show();
    },onClear:function () {
        $("#abc_yingyuezhizhao").val('');
        $("#abc_yingyuezhizhao_ok").hide();
    }});
    $('#a_faren_shenfenzheng_file').ssi_uploader({url:'__APP__/Info/upimg?r=1212',dropZone:false,allowed:['jpg','gif','txt','png','pdf'],onEachUpload:function (info) {
        var url = info.responseData.data.url;
        $("#a_faren_shenfenzheng").val(url);
        $("#a_faren_shenfenzheng_ok").show();
    },onClear:function () {
        $("#a_faren_shenfenzheng").val('');
        $("#a_faren_shenfenzheng_ok").hide();
    }});
    $('#abc_shenqingzhe_shenfenzheng_file').ssi_uploader({url:'__APP__/Info/upimg?r=1212',dropZone:false,allowed:['jpg','gif','txt','png','pdf'],onEachUpload:function (info) {
        var url = info.responseData.data.url;
        $("#abc_shenqingzhe_shenfenzheng").val(url);
        $("#abc_shenqingzhe_shenfenzheng_ok").show();
    },onClear:function () {
        $("#abc_shenqingzhe_shenfenzheng").val('');
        $("#abc_shenqingzhe_shenfenzheng_ok").hide();
    }});
    $('#a_weituoshu_file').ssi_uploader({url:'__APP__/Info/upimg?r=1212',dropZone:false,allowed:['jpg','gif','txt','png','pdf'],onEachUpload:function (info) {
        var url = info.responseData.data.url;
        $("#a_weituoshu").val(url);
        $("#a_weituoshu_ok").show();
    },onClear:function () {
        $("#a_weituoshu").val('');
        $("#a_weituoshu_ok").hide();
    }});
    $('#a_guihuaju_shenqingbiao'+'_file').ssi_uploader({url:'__APP__/Info/upimg?r=1212',dropZone:false,allowed:['jpg','gif','txt','png','pdf'],onEachUpload:function (info) {
        var url = info.responseData.data.url;
        $("#a_guihuaju_shenqingbiao").val(url);
        $("#a_guihuaju_shenqingbiao_ok").show();
    },onClear:function () {
        $("#a_guihuaju_shenqingbiao").val('');
        $("#a_guihuaju_shenqingbiao_ok").hide();
    }});
    $('#a_didian_chanquan'+'_file').ssi_uploader({url:'__APP__/Info/upimg?r=1212',dropZone:false,allowed:['jpg','gif','txt','png','pdf'],onEachUpload:function (info) {
        var url = info.responseData.data.url;
        $("#a_didian_chanquan").val(url);
        $("#a_didian_chanquan_ok").show();
    },onClear:function () {
        $("#a_didian_chanquan").val('');
        $("#a_didian_chanquan_ok").hide();
    }});
    $('#abc_zhizuo_gongshi_zhizhao'+'_file').ssi_uploader({url:'__APP__/Info/upimg?r=1212',dropZone:false,allowed:['jpg','gif','txt','png','pdf'],onEachUpload:function (info) {
        var url = info.responseData.data.url;
        $("#abc_zhizuo_gongshi_zhizhao").val(url);
        $("#abc_zhizuo_gongshi_zhizhao_ok").show();
    },onClear:function () {
        $("#abc_zhizuo_gongshi_zhizhao").val('');
        $("#abc_zhizuo_gongshi_zhizhao_ok").hide();
    }});
    $('#a_images'+'_file').ssi_uploader({url:'__APP__/Info/upimg?r=1212',dropZone:false,maxNumberOfFiles:10,allowed:['jpg','gif','txt','png','pdf'],onEachUpload:function (info) {
        var url = info.responseData.data.url;
        var temp = $("#a_images").val();
        if(temp == "")
            $("#a_images").val(url);
        else
            $("#a_images").val(temp+";"+url);
        $("#a_images_ok").show();
    },onClear:function () {
        $("#a_images").val('');
        $("#a_images_ok").hide();
    }});
    $('#a_didian_celiangtu'+'_file').ssi_uploader({url:'__APP__/Info/upimg?r=1212',dropZone:false,allowed:['jpg','gif','txt','png','pdf'],onEachUpload:function (info) {
        var url = info.responseData.data.url;
        $("#a_didian_celiangtu").val(url);
        $("#a_didian_celiangtu_ok").show();
    },onClear:function () {
        $("#a_didian_celiangtu").val('');
        $("#a_didian_celiangtu_ok").hide();
    }});
    $('#b_xuanchuanguazhang_shenqingbiao'+'_file').ssi_uploader({url:'__APP__/Info/upimg?r=1212',dropZone:false,allowed:['jpg','gif','txt','png','pdf'],onEachUpload:function (info) {
        var url = info.responseData.data.url;
        $("#b_xuanchuanguazhang_shenqingbiao").val(url);
        $("#b_xuanchuanguazhang_shenqingbiao_ok").show();
    },onClear:function () {
        $("#b_xuanchuanguazhang_shenqingbiao").val('');
        $("#b_xuanchuanguazhang_shenqingbiao_ok").hide();
    }});
    $('#c_shigongzuoye_shenqingbiao'+'_file').ssi_uploader({url:'__APP__/Info/upimg?r=1212',dropZone:false,allowed:['jpg','gif','txt','png','pdf'],onEachUpload:function (info) {
        var url = info.responseData.data.url;
        $("#c_shigongzuoye_shenqingbiao").val(url);
        $("#c_shigongzuoye_shenqingbiao_ok").show();
    },onClear:function () {
        $("#c_shigongzuoye_shenqingbiao").val('');
        $("#c_shigongzuoye_shenqingbiao_ok").hide();
    }});
    $('#bc_xiaoguotu'+'_file').ssi_uploader({url:'__APP__/Info/upimg?r=1212',dropZone:false,allowed:['jpg','gif','txt','png','pdf'],onEachUpload:function (info) {
        var url = info.responseData.data.url;
        $("#bc_xiaoguotu").val(url);
        $("#bc_xiaoguotu_ok").show();
    },onClear:function () {
        $("#bc_xiaoguotu").val('');
        $("#bc_xiaoguotu_ok").hide();
    }});
    $('#a_zulinhetong_file').ssi_uploader({url:'__APP__/Info/upimg?r=1212',dropZone:false,allowed:['jpg','gif','txt','png','pdf'],onEachUpload:function (info) {
        var url = info.responseData.data.url;
        $("#a_zulinhetong").val(url);
        $("#a_zulinhetong_ok").show();
    },onClear:function () {
        $("#a_zulinhetong").val('');
        $("#a_zulinhetong_ok").hide();
    }});
    $('#a_jiegouanquantuzhi_file').ssi_uploader({url:'__APP__/Info/upimg?r=1212',dropZone:false,allowed:['jpg','gif','txt','png','pdf'],onEachUpload:function (info) {
        var url = info.responseData.data.url;
        $("#a_jiegouanquantuzhi").val(url);
        $("#a_jiegouanquantuzhi_ok").show();
    },onClear:function () {
        $("#a_jiegouanquantuzhi").val('');
        $("#a_jiegouanquantuzhi_ok").hide();
    }});
    $("#bc_qita").blur(function () {
       if($(this).val() != ""){
           $("#bc_qita_ok").show();
       }
       else{
           $("#bc_qita_ok").hide();
       }
    });

</script>